﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace FinalTestMachine.View.MainUnits
{
    /// <summary>
    /// UC_LinkState.xaml 的交互逻辑
    /// </summary>
    public partial class UC_LinkState : UserControl
    {
        public UC_LinkState()
        {
            InitializeComponent();
        }

        public void ShowUI()
        {
            //if(Connect.ConnectFactory.tcpConnect_UpStation.IsConnected)
            //{
            //    tb_LoadLink.Background = Brushes.Green;
            //}
            //else
            //{
            //    tb_LoadLink.Background = Brushes.Red;
            //}

            //if(Connect.ConnectFactory.tcpConnect_NextStation.IsConnected)
            //{
            //    tb_UnLoadLink.Background = Brushes.Green;
            //}
            //else
            //{
            //    tb_UnLoadLink.Background = Brushes.Red;
            //}
        }
    }
}
